package org.zgr.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import common.entity.book.BookInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.zgr.mapper.BookMapper;

import java.util.List;

/**
 * @Author: 郑国荣
 * @Date: 2024-04-01-0:02
 * @Description:
 */
@Service
public class BookService {
    @Autowired
    private BookMapper bookMapper;

    public List<BookInfo> getBookList(){
        QueryWrapper<BookInfo> queryWrapper = new QueryWrapper<>();
        return bookMapper.selectList(queryWrapper);

    }

}
